class WaitApprovePlanEntity {
	List<WaitApprovePlanData> data;


	WaitApprovePlanEntity({ this.data,});

	WaitApprovePlanEntity.fromJson(List json) {
		if (json!= null) {
			data = new List<WaitApprovePlanData>();(json as List).forEach((v) { data.add(new WaitApprovePlanData.fromJson(v)); });
		}
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		if (this.data != null) {
      data['data'] =  this.data.map((v) => v.toJson()).toList();
    }
		return data;
	}
}

class WaitApprovePlanData {
	bool iscomplete;
	int srtcauditstate;
	String batchno;
	String creatorUserId;
	String auditortime;
	String materialname;
	String auditnote;
	String creationTime;
	int proportion;
	bool issend;
	String lastModificationTime;
	int proportionquantity;
	String smallcategoryname;
	String materialid;
	String auditorid;
	bool isDeleted;
	String warehouseid;
	String spotcheckno;
	String completetime;
	String id;
	String supplierid;
	String proportionnote;
	String lastModifierUserId;
	bool spotcheckresult;
	int auditstate;
	String pilotprojectid;
	String suppliername;
	String month;
	String tenantId;
	String smallcategoryid;
	String tasknumber;

	WaitApprovePlanData({this.iscomplete, this.srtcauditstate, this.batchno, this.creatorUserId, this.auditortime, this.materialname, this.auditnote, this.creationTime, this.proportion, this.issend, this.lastModificationTime, this.proportionquantity, this.smallcategoryname, this.materialid, this.auditorid, this.isDeleted, this.warehouseid, this.spotcheckno, this.completetime, this.id, this.supplierid, this.proportionnote, this.lastModifierUserId, this.spotcheckresult, this.auditstate, this.pilotprojectid, this.suppliername, this.month, this.tenantId, this.smallcategoryid, this.tasknumber});

	WaitApprovePlanData.fromJson(Map<String, dynamic> json) {
		iscomplete = json['iscomplete'];
		srtcauditstate = json['srtcauditstate'];
		batchno = json['batchno'];
		creatorUserId = json['creatorUserId'];
		auditortime = json['auditortime'];
		materialname = json['materialname'];
		auditnote = json['auditnote'];
		creationTime = json['creationTime'];
		proportion = json['proportion'];
		issend = json['issend'];
		lastModificationTime = json['lastModificationTime'];
		proportionquantity = json['proportionquantity'];
		smallcategoryname = json['smallcategoryname'];
		materialid = json['materialid'];
		auditorid = json['auditorid'];
		isDeleted = json['isDeleted'];
		warehouseid = json['warehouseid'];
		spotcheckno = json['spotcheckno'];
		completetime = json['completetime'];
		id = json['id'];
		supplierid = json['supplierid'];
		proportionnote = json['proportionnote'];
		lastModifierUserId = json['lastModifierUserId'];
		spotcheckresult = json['spotcheckresult'];
		auditstate = json['auditstate'];
		pilotprojectid = json['pilotprojectid'];
		suppliername = json['suppliername'];
		month = json['month'];
		tenantId = json['tenantId'];
		smallcategoryid = json['smallcategoryid'];
		tasknumber = json['tasknumber'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['iscomplete'] = this.iscomplete;
		data['srtcauditstate'] = this.srtcauditstate;
		data['batchno'] = this.batchno;
		data['creatorUserId'] = this.creatorUserId;
		data['auditortime'] = this.auditortime;
		data['materialname'] = this.materialname;
		data['auditnote'] = this.auditnote;
		data['creationTime'] = this.creationTime;
		data['proportion'] = this.proportion;
		data['issend'] = this.issend;
		data['lastModificationTime'] = this.lastModificationTime;
		data['proportionquantity'] = this.proportionquantity;
		data['smallcategoryname'] = this.smallcategoryname;
		data['materialid'] = this.materialid;
		data['auditorid'] = this.auditorid;
		data['isDeleted'] = this.isDeleted;
		data['warehouseid'] = this.warehouseid;
		data['spotcheckno'] = this.spotcheckno;
		data['completetime'] = this.completetime;
		data['id'] = this.id;
		data['supplierid'] = this.supplierid;
		data['proportionnote'] = this.proportionnote;
		data['lastModifierUserId'] = this.lastModifierUserId;
		data['spotcheckresult'] = this.spotcheckresult;
		data['auditstate'] = this.auditstate;
		data['pilotprojectid'] = this.pilotprojectid;
		data['suppliername'] = this.suppliername;
		data['month'] = this.month;
		data['tenantId'] = this.tenantId;
		data['smallcategoryid'] = this.smallcategoryid;
		data['tasknumber'] = this.tasknumber;
		return data;
	}
}
